<h5>Разделы</h5>
<nav class="nav flex-column">
  {{ range .Site.RegularPages }}
  {{- if eq .Params.showInMenu true -}}
  <a href="{{- .Permalink | relURL -}}" class="nav-link">
    {{- .Title -}}
  </a>
  {{- end -}}
  {{- end -}}
  {{- range .Site.Sections -}}
  {{- if not (eq .Title "singles") -}}
  {{- $secCount := len .Sections -}}
  {{- if (ne $secCount 0) }}
  {{- else -}}
  <a class="nav-link" href="{{- .Permalink | relURL -}}">
    <svg class="partials-img me-2" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 14.222 14.222" aria-label="Sidebar Link" class="me-1">
      <path d="M.556 6.434l3.527 3.605a.855.855 0 001.21 0l8.332-8.208s1.595-1.58.014-.016h-1.207L4.687 9.433 1.676 6.434z"/><path d="M12.82 3.803l-7.063 7.054.037.036a.855.855 0 001.21 0l6.785-6.859c-.136-.483-.968-.231-.968-.231z"/></svg>
  {{- .Title -}}
  </a>
  {{- end -}}
  {{- end -}}
  {{- end -}}
</nav>